package com.lwlean.audit.controller;

import org.apache.log4j.Logger;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created by lean on 16-11-6.
 */
@ComponentScan
@Controller
public class SecurityController {

    private Logger logger = Logger.getLogger(this.getClass());

    @RequestMapping("/loginPage")
    public String login(Map<String,Object> model){
        logger.info("into loginPage success{}");
        return "login";
    }

}
